package com.sp.scmdb.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.sp.scmdb.common.DomainObject;
/**
 * 卡号实体类
 * 
 * */
@Entity
@Table(name = "OBJ_TAG")
public class Tag  extends DomainObject{

	/**卡号*/
	@Column(name = "TAG_NO", nullable = false)
	private String tagno;
	/**卡号使用状态*/
	@Column(name = "USE_STAT ", nullable = false)
	private String usestat;
	/**卡号电量状态*/
	@Column(name = "POWER_STAT ", nullable = false)
	private String powerstat;

	/**
	 * @return the tagno
	 */
	public String getTagno() {
		return tagno;
	}

	/**
	 * @return the usestat
	 */
	public String getUsestat() {
		return usestat;
	}

	/**
	 * @return the powerstat
	 */
	public String getPowerstat() {
		return powerstat;
	}

	/**
	 * @param tagno the tagno to set
	 */
	public void setTagno(String tagno) {
		this.tagno = tagno;
	}

	/**
	 * @param usestat the usestat to set
	 */
	public void setUsestat(String usestat) {
		this.usestat = usestat;
	}

	/**
	 * @param powerstat the powerstat to set
	 */
	public void setPowerstat(String powerstat) {
		this.powerstat = powerstat;
	}


}
